import request from '../utils/request'

const loginApi= {
    patientLogin(data){
        return request({
            url: '/login',
            method: 'post',
            data: data
        })
    },
    patientLogout(data){
        return request({
            url: '/logout',
            method: 'post',
            data: data
        })
    },

    patientRegister(data){
        return request({
            url: '/register',
            method: 'post',
            data: data
        })
    },

    resetPassword(data){
        return request({
            url: '/forget',
            method: 'post',
            data: data
        })
    },


};

export default loginApi;

